<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>ToGo二手车-卖车</title>
	<link rel="stylesheet" type="text/css" href="../css/top.css">
	<link rel="stylesheet" type="text/css" href="../css/sellcar.css">
	<script type="text/javascript" src="../js/jquery-2.2.3.min.js"></script>
	<script type="text/javascript" src="../js/jquery.cookie.js"></script>
	<script type="text/javascript" src="../js/laydate/laydate.js"></script>
	<script type="text/javascript" src="../js/top.js"></script>
	<script type="text/javascript" src="../js/sellcar.js"></script>
</head>
<body>
	<div id="top">
		<ul id="top-ul">
			<li><a href="../car/index.html">首页</a> </li>
			<li><a href="../car/buycar.html">买车</a> </li>
			<li><a href="../car/sellcar.html">卖车</a> </li>
			<li></li>
			<li></li>
			<li id="user"><a href="../user/login.html">登录</a>/<a href="../user/register.html">注册</a></li>
		</ul>
	</div> 
	<div id="mid">
		<div id="mid-head"><h3>您可以先填写基本信息收到信息后我们会第一时间通知您</h3><hr style="border:none;background-color:rgba(200,200,200,0.8);height:1.3px;"></div>
		<div id="mid-form">
		<form action="http://172.18.21.150/ToGo/publishCar" enctype="multipart/form-data" id="uploadcar" name="car" method="post" target="car_iframe"> 
			<table>
				<tr>
					<td>选择车型</td>
					<td><select name="brand" id="carbrand">
			
					</select><select name="model" id="carkind">
				
			</select></td>
				</tr>
				<tr>
					<td>车型</td>
					<td colspan='2'><select class="carinfo" name="category">
				<option value="SUV">SUV</option>
				<option value="面包">面包</option>
				<option value="跑车">跑车</option>
				<option value="皮卡">皮卡</option>
				<option value="商务">商务</option>
				<option value="MPV">MPV</option>
			</select></td>
				</tr>
				<tr>
					<td>购买时间</td>
					<td colspan="2"><input type="text"  name="buyingTime" onclick="laydate()"></td>
				</tr>
				<tr>
					<td>出售价格</td>
					<td colspan="2"><input type="text" name="price"></td>
				</tr>
				<tr>
					<td>原价</td>
					<td colspan="2"><input type="text" name="originalPrice"></td>
				</tr>
				<tr>
					<td>行驶里程</td>
					<td colspan="2"><input type="text" name="mileage">万公里</td>
				</tr>
				<tr>
					<td>上传图片</td>
					<td><input type="file" name="car_photo" id="car-logo"></td>
				</tr>
				<tr>
					<td colspan="3"><input type="button" id="uploadbutton" value="提交资料" onclick="uploadcar()""></td>
				</tr>
			</table>	
			
			<span class="carinfo">
			
			</span>
			<span class="carinfo"><input type="text" name="user_id" value="" id="user_id" style="display:none;"></span>
			<span class="carinfo"><input type="text" name="username" value="" id="username" style="display:none;"></span>
			</form>
			<iframe name="car_iframe" style="display:none;"></iframe>
		
		</div>
	</div>
</body>
</html>